package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmSensitive;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

public interface WmSensitiveService extends IService<WmSensitive> {


    boolean deleteByid(Integer id);

    ResponseResult Save(@RequestBody WmSensitive wmSensitive);

    ResponseResult Update (@RequestBody WmSensitive wmSensitive);

    ResponseResult SelectLike(Map map);

    /**
     * 查询所有敏感词
     */
    ResponseResult querySensitiveAll();
}
